package io.itit.ecp.admin.provide.action.resp;

import io.itit.grass.common.provide.action.resp.BaseResp;
import io.itit.grass.dict.starter.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;


/**
 * <p>
 *
 * @Author：Roy
 * @Description：数据范围响应结果
 * @Date：Create by 2024-01-17 16:55:06
 */
@Data
@ToString
@ApiModel("数据范围响应结果")
public class DataRangeResp extends BaseResp {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("范围编码")
	private String rangeCode;

	@ApiModelProperty("范围名称")
	private String rangeName;

	@ApiModelProperty("范围级别(all:全部,project:按项目,edifice:按楼栋,floor:按楼层,room:按空间,company:按公司) >> distCode：ecp-admin.dataRange.rangeLevel")
	@Dict(dictCode = "ecp-admin.dataRange.rangeLevel")
	private String rangeLevel;

	@ApiModelProperty("描述")
	private String remark;

	@ApiModelProperty("状态(1:启用,2:禁用) >> distCode：ecp-admin.dataRange.status")
	@Dict(dictCode = "ecp-admin.dataRange.status")
	private String status;

	@ApiModelProperty("关联场景Id集合")
	private List<String> sceneIdList;

	@ApiModelProperty("机构Id")
	private String deptId;

}